home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
GAME_CGA
/
3DSTARTR.LZH
/
STARTREK.DOC
< prev
next >
Wrap
Text File
|
1988-04-10
|
33KB
|
771 lines
Three Dimensional Star Trek
By Carl Schelin
Version 1.1
Nov 1st, 1987
Table of Contents
Introduction and Credits .......................................... 3
Installation and Specifics ........................................ 4
Starting Star Trek ................................................ 5
Message Screen .................................................... 6
Main Display Eplanation ........................................... 7
Options and Explanations .......................................... 8
Nav - Navigation .............................................. 8
SRS - Short Range Scan ........................................ 9
LRS - Long Range Scan ......................................... 9
Pha - Phaser Control .......................................... 10
Tor - Torpedo Control ......................................... 10
She - Shield Control .......................................... 10
Dam - Damage Control .......................................... 10
Com - Library Computer ........................................ 11
Rec - Galactic Record ......................................... 11
Sta - Status Report ........................................... 11
SNv - Star Base Navigation Data ............................... 11
TNv - Torpedo Navigation Data ................................. 11
Nam - Galactic Name Record .................................... 11
Sec - Security Report ......................................... 12
Dis - Discipline a Crew Member ................................ 12
Hlp - Help with Commands ...................................... 12
End - End Game ................................................ 12
Extended Commands ................................................. 12
Cls - Clear Screen ............................................ 12
Dos - Load Command Shell ...................................... 12
"Dn" - Look Down One LRS Level ................................. 13
"Up" - Look Up One LRS Level ................................... 13
Sta - Stars to Asterisks ...................................... 13
Con - Configure Colors ........................................ 13
Ext - Print Extended Command List ............................. 13
Sto - Stop Program ............................................ 13
Other Information ................................................. 14
Enhancements .................................................... 14
Known Bugs ...................................................... 14
Other Garbage ................................................... 14
- 2 -
Introduction and Credits
The base of this program was found in Basic Computer Games, Edited
by David Ahl. I am enclosing the original game so that you can see the
enhancements/improvements that I have made to the program. I believe
that I have made enough changes to the program so I can release it as my
own.
Star Trek is a trademark of Paramount Pictures. All references to
Star Trek in this documentation and in the program refer to this same
trademark.
This program was originally typed in by me when I was first
starting to program on an IBM-PC. After playing it a few times, I
started to work on what I thought were problems. The original code was
very spaghetti oriented. I started to organize the sections and place
Remark statements within the code. I also separated the code into more
manageable pieces. After a while, I added the basic format that you see
now. The screens, Long Range Scan, and Computer were changed from a
"+", "-" combination to the extended graphic characters that you see
now. After adding the Snotty comments for bad situations, I started
running out of room in Basic. When I started looking around at the
available languages, I chose MegaBasic by American Planning Corporation.
MegaBasic is an extended basic which allows you to have seperate
multi-program modules which are defined as procedures or functions.
The newest version supports multi-line If statements, Case statements,
and +=, -=, *=, /= conditionals. You know, instead of RECORD = RECORD +
1045, you can now have RECORD += 1045. This and the multi-line If
statements are the best thing that I have seen outside of C. Which I
will try later. It will allow you to use up to 1 meg of memory for the
programs and data. This language is almost C, it is faster, but not as
compact. You can have up to 64 separate programs to link together.
Each program can be no larger than 64k, this gives you over 4 meg of
program space. If you weren't limited by the 1 meg, you could have a
very large program.
The main reason that this program was written was so that I could
learn MegaBasic. Using that same philosophy, I am planning on converting
Star Trek into C because of the number of people that are using C, the
amout of free code that is out there on the bulletin boards and mainly
because C is one of the most used programming language besides COBOL.
Well, that's the history and the reasons that I use a particular
language. If you want more information on MegaBasic, write to APC at:
American Planning Corporation; 4600 Duke Street. Suite 425
Alexandria, VA 22304; (800) 368-2248
They'll send you test comparisons against other extended basics and
pricing information.
As far as I'm concerned, I feel that a small donation of $15 to my
favorite charity, me, will be accepted. I can offer nothing but the
source code for the donation, but if you want it, I will be more than
happy to send it. Send any donations to:
Carl Schelin; 67 Chestnut Drive; Stafford, VA 22554
- 3 -
Installation and Specifics
To run Star Trek correctly, you must have DOS's Ansi.Sys or another
famous brand installed in your Config.Sys. NOTE: If you use Fansi-
Console, or another one that has border color changable using 50 to 57,
then changing the Default color will change the border color also.
To install Ansi.Sys in your Config.Sys, first type "CD\" and press
<Enter>. You will be in the Root Directory. Then type
"Type Config.Sys". If you get an error (e.g. File not found), then type:
C:\>Copy Con Config.Sys
Device = Ansi.Sys
^Z <--- This is either Function Key 6 <F6> or <Ctrl><Z>
1 File(s) copied <--- This should appear after ^Z
Once this is completed, you must re-boot your computer.
If after typing Config.Sys and you get something like this:
C:\>Type Config.Sys
BUFFERS=32
FILES=32
C:\>
Then you must do the same as if you do not have the Config.Sys file
but you must remember to add the information from the old file. For
Example:
C:\>Copy Con Config.Sys
Device = Ansi.Sys
BUFFERS=32
FILES=32
^Z <--- This is either Function Key 6 <F6> or <Ctrl><Z>
1 File(s) copied <--- This should appear after ^Z
- 4 -
Starting Star Trek
Star Trek has only one switch so far, /S. This allows you to print
the Hall of Fame scores without running the game. This will show the
credit screen and then show the Captain/Crew Hall of Fame.
After you have installed Star Trek on your computer, type
"StarTrek". After a moment, you will see a lead-in credit screen.
Press <Enter> and the program will start out by printing stars and the
StarTrek Introduction. After the Introduction has run, you will see The
Enterprise fly from the bottom to the top of the screen. After the
program has run fully, you will then be asked for your name for the
Ship's Log. After that you will see a list of the crew in this
"Episode".
- - * * * - -
╔═════════════════════════════════════════════╗
║ Crew List, Captain ║
║ ║
║ Capt <Your Name> Commanding Officer ║
║ Commander Spock Science/Executive Officer ║
║ Lt. Cdr Scott Chief Engineer ║
║ Lt. Cdr McCoy Chief Surgeon ║
║ Lt. Uhura Communications Officer ║
║ Lt. Sulu Navigations/Security ║
║ Lt. Clancy Assistant Science Officer ║
║ Ensign Chekov Helmsman ║
║ Ensign Kyle Transporter Chief ║
║ Ensign Brown Medical Technician ║
║ Ensign Farrell Security Chief ║
║ Ensign White Engineering Specialist ║
╚═════════════════════════════════════════════╝
Quadrant 1,8, Quadrant Level 1 done.
- - * * * - -
While the crew listing is being shown, under the list you will see
the Galaxy being created. This procedure creates an 8 x 8 x 8 galactic
cube. When the Galaxy is created, you are prompted to press enter.
When the game is running, you may have to give a crew members name
is association with some command. This is why the list is being shown
to you. While the Galaxy is being created, you can either write the
crew list down or print it or whatever you use to remember the crew
members.
- 5 -
Message Screen
- - * * * - -
Lt. Uhura reports: "Message from StarFleet Command, Captain!"
|_O_|_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _|_O_|
| O | | O |
| | The Klingon Empire has decided to break the Orgainian Treaty by | |
| O | attacking. We have just recieved their declaration of war but will | O |
| | assume that they are already within the galaxy. You must expect | |
| O | them anywhere. Your Long Range Sensors should detect them. We | O |
| | feel that they have attacked because of the recent number of | |
| O | abnormal breakdowns within the fleet and have determined that there | O |
| | may be a spy or traitor on each Star Ship, sabotoging it. Be on | |
| O | the lookout for traitors. | O |
| | We have determined that there are 121 Klingon Battle Cruisers | |
| O | currently attacking and that they will be within range of Fleet | O |
| | headquarters within 246 StarDays. Your mission is to destroy all | |
| O | the Battle Cruisers before they destroy Star Fleet Headquarters. | O |
| | | |
| O | | O |
| | | |
|_O_|_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _|_O_|
| O | | O |
Press <Enter> when ready to accept command
- - * * * - -
The items of interest here are the number of Klingon Battle
Cruisers and the number of Star Days to accomplish the mission. You
might complete the mission by destroying all the Klingons before the
allotted date but the resultant cost in evacuating Federation
Headquarters because of the "Apparant Loss of The Enterprise" will
greatly reduce the Evaluation Score. After destroying the last Klingon
you must speed to the nearest Star Base and report in to win the game.
- 6 -
Main Command Console
- - * * * - -
Directional
Commanders' Indicator Status Light
Name / \ Memory Available
\ / \ \
╔══════\══════╦═══/═══╦═══════════════════════════════════╦\═══\═╦═════════════╗
║ Commander ║ 4 3 2 ║│ * │║ ▓▓▓▓ \ StarDate ║
║ Schelin ║ 5 * 1 ║│ [Short Range Scanner] │║ ▓▓▓▓ ║ \ 2700.0 ║
║ on Bridge ║ 6 7 8 ║│ <*> │║ ▓▓▓▓ ║ \ 29,647k ║
╠═════════════╩═══════╣│ * │╠══════╩═════════════╣
║ Command ║│ +K+ │║ Status ║
║ KEY 1=NAV KEY 2=PHA ║│ * * │║ Days Left 243.0 ║
║ KEY 3=TOR KEY 4=SHE ║│ * * │║ Klingons Left 128 ║
║ KEY 5=DAM KEY 6=COM ║│ [Light GeeGaw] │║ Total Energy 32000 ║
║ KEY 7=SEC KEY 8=DIS ╠══════════════\/═══════════════════╣ Shields 0 ║
║ KEY 9=HLP KEY 0=END ║ ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ ║ Photon Torps. 25 ║
╠═════════════════════╬═══════════════════════════════════╬════════════════════╣
║ Command _ ║ Location: Quad-3,6,5 Sector-3,4 ║ System StandBy ║
╠═════════════════════╬═══════════════════════════════════╩════════════════════╣
║ LONG RANGE SCAN ║ ║
║ ┌─────┬─────┬─────┐ ║ ║
║ │ 007 │ 003 │ 003 │ ║ ║
║ ├─────┼─────┼─────┤ ║ [Main Information Display] ║
║ │ 102 │{106}│ 011 │ ║ ║
║ ├─────┼─────┼─────┤ ║ ║
║ │ 004 │ 008 │ 003 │ ║ ║
║ └─────┴─────┴─────┘ ║ ║
╚═════════════════════╩════════════════════════════════════════════════════════╝
- - * * * - -
Main Display
This is a brief description of the screen that you see above. You
will get a more thourogh explanation farther below.
Starting with the upper left corner and going from there, you will
see the name of the Commander (that's you) and the fact that you are on
the bridge.
Next you see the directional indicator, this is the directions that
you use when asked at the Naviation and Torpedo prompt.
The large screen in the Center Top is the Short Range Scanner.
With this, you can see what is around you. You can also make sure that
you do not run into anything when leaving the Quadrant.
The next item is the Status Light. The colors indicate the status
of the ship at any one time. The colors are Green, Flashing Yellow, and
Flashing Red.
At the far right corner is the StarDate and the Available Memory.
The last just lets you see how much memory is available. You'll need
about 40k just to exit into DOS.
- 7 -
Main Display (continued)
At the start of the next level is the Command Display. This shows
you just what commands are available for use. EXT will show you the
extended command list and COM will show you the computer command list.
Just under the Short Range Scanner is what I call the Light Geegaw.
This is just for show. If you ever saw Star Trek, you will always see
this under the Short Range Scanner.
At the far left, you see the Status Display. This gives you all
the mission particulars.
Just under the Command Display is the Command box. You will enter
most of data here. The only other place is the Main Information
Display.
Next to the Command box is the Location Indicator. This tells you
where you are in relation to the Galaxy.
At the far left is the Status box. If you are not doing anything,
you will see "System Standby". If any command is entered, you will see
the name of the major section in this box.
On the bottom left is the Long Range Scanner. It allows you to see
one Quadrant around you in all directions. The data is automatically
noted in the computer, but you must press either the up or down arrow to
see the recorded data.
Finally, you see the Main Information Display. This will give you
all messages and ask for input when needed.
Commands Console Explanations
Command Key List
- NAV - Warp Engine Control
Entering Course Data
Enter the course in circular numerical vector arrangement. Integer
or Real numbers may be entered. (e.g. Course 1.5 is half-way between 1
and 2). Values may approach 9.0 which is equivalent to 1.0. One Warp
Factor is the Equivalent of one Quadrant. To navigate to other galactic
levels, at the Course prompt enter a + for down or a - for up. At the
second prompt, enter the course as above. You will then be on the level
requested. To navigate straight up or down, enter a 0 at the second
Course prompt. Course commands may be combined into one command. e.g.
+1 will send you down at course 1, -0 will send you straight up.
Entering Warp Factor Data
The Warp Factor is affected by the damage to the engines. If the
engines are damaged you must travel on impulse power (Warp .2 or less)
until either the damage control section fixes it or until you arrive at
a Star Base and have it fixed.
- 8 -
Other events during Navigation
While Navigation is working, various other things may happen.
Equipment may be damaged, repaired, or improved upon. It checks for
impeding stars, Star Bases, or Klingon Battle Cruisers. It checks for
Galaxy limits and will not allow you to leave them. If there are
Klingons in the area, you will be shot at upon leaving.
- SRS - Short Range Sensor Scan
Screen Symbology
Symbology on your sensor screen is as follows:
<*> - Your present position in the Quadrant.
+K+ - The position of up to three Klingon Battle Cruisers.
>!< - The position of a Federation Star Base.
- The position of any of up to 8 stars found in a Quadrant.
░▒░ - The location of a deceased Klingon Battle Cruiser.
æ - The track of a torpedo that has been fired by you.
(The last three Scan symbols are actually the Characters 15,
176+177+176, and 145 in case you cannot see them on your printer.)
Star Bases
If you dock with a Star Base, all energy is restored and the
torpedoes are replenished. When you dock, you drop your shields. If your
shields are damaged, you will not be able to dock and will not be able
to restore any energy/torpedoes. You must also dock with a Star Base to
end the game. After killing all the Klingons of course.
Alerts
The Enterprise will also scan for Klingons in the sector and for
low energy within The Enterprise itself. Conditions are displayed by
the color of the Status Light. If the Status Light is green, then the
condition is "All Clear". If it's flashing Yellow, then you are low on
energy, and if it's flashing Red, then there are Klingons in the
sector.
- LRS - Long Range Sensor Scan
Shows the condition in space for one Quadrant on all sides of The
Enterprise. (Which is in the middle of the scan, shown by the "{}"'s.)
The scan is coded in the form "207", where the ones digit is the number
of stars (7), the tens digit is the number of Star Bases (0), and the
- 9 -
hundreds digit is the number of Klingon Battle Cruisers (2).
As it sits, you can only look at the two dimensional level that you
are on. You may look either up or down a level by using the up or down
butttons on the keypad. A down arrow will allow you to look at the
level below yours and the up arrow will allow you to look up. Even if
you do not look up or down, the data is recorded in the computer memory
banks so when you look at the computer record of the Galaxy, you will
see your level and if you look up or down, you will see the data on it
also.
- PHA - Phaser Control
Allows you to destroy the Klingon Battle Cruisers by zapping them
with suitably large units of energy. You are limited to 7.5% of your
total energy as a maximum. (About 1200 Units)
- TOR - Photon Torpedo Control
The Torpedo course is the same as used in the Navigation Command.
If you hit the Klingon vessel, he is destroyed and cannot fire back at
you. If you miss, you are subject to his Phaser fire. In either case,
you are also subject to the fire of any other Klingons in the Quadrant.
The Library Computer has an option to help calculate the Torpedo course.
- SHE - Shield Control
Defines the number of units to be assigned to the Shields. Energy
is taken from the total Ship's Energy. You are limited to the amount of
energy used to power the shields. The limit is 10% of the total energy
available. If your shields are damaged you will not be able to dock
with any Star Base. I mean, think about it, you cannot transport out or
in through a shield nor can you land shuttle craft. You are stuck until
your crew fixes the problem.
- DAM - Damage Control Report
Gives the state of repair of all devices. A negative number shows
that the device is temporarily damaged. You can tell if an item is
damaged by the blinking of the specific item on the command board or
the blankness of the SRS or LRS. When you dock with a Star Base and have
systems that are down, pressing Damage Control will allow the Star Base
personnel to fix them unless Damage Control is unable to tell what
systems are down. It will generally take one crossover of a Quadrant
boundary to repair one full point of damage. TIP: If your engines are
down, go back and forth across the Sector line and it will be repaired
relatively quick.
- 10 -
- COM - Library Computer
The Library Computer contains five options:
- REC - Cumulative Galactic Record
This option shows computer memory of the results of all
previous Long Range Sensor Scans. While in this function, you can
see the number of Klingons left in your level by looking in the
upper right corner. You can also look at the other levels by using
the up or down key. You can also jump between levels by entering
the number that you wish to go to. If you enter a number outside
that range, it will be assumed that you wish to return to the main
screen and so you will.
- STA - Status Report
This option shows the number of Klingon Battle Cruisers, Star
Bases, and the number of days remaining in the game. It also gives
you a damage report as long as the Damage Control is not damaged.
I am considering replacing it because all the information that it
gives is displayed all the time.
- SNV - Star Base Navigation Data
This option gives the Direction and Distance to any Star Base
within your Sector.
- TNV - Photon Torpedo Data
Gives the Direction and Distance of each Klingon Battle
Cruiser in the Sector from The Enterprise. If there is more than
one Klingon, then this section will pause for 2 seconds and then
print the data for each one until up to all three are printed, then
it will clear the Main Information Display.
- NAM - Galactic Region Name Map
This option prints the names of each of the sixteen Major
Galactic Regions referred to in the game. The Galactic Name with
the {} around it is your location.
- 11 -
- SEC - Security Report
This command will tell you if a traitor is on board. If there is,
he/she will be one of the crew shown at the beginning of the game. Be
wary, the Security Team is not the best and can make mistakes. You may
falsely accuse the wrong member of your crew.
- DIS - Discipline Crew
This section is the Execution Squad for the Captain. Whoever you
say to kill, this squad will kill. Be careful of how many you kill as
the crew may mutiny thinking the captain is insane.
- HLP - Help
With this command, you can get on-screen information on any of the
Main Command Function Keys just by entering the command sequence.
(HLP, NAV, COM, etc...)
- END - Self Destruct
This command will end the game. You will first enter your correct
name and then be given a Retinal Scan. You will then have 50 seconds to
abort the command by typing 'A'. After this you will have an additional
10 seconds to pray to whatever God you presume to have because you will
be dead.
* * * Extended Commands * * *
Extended commands are accessed by pressing the alternate key and
then the function key. Alt-F7 will print the Extended command key list
on the screen.
- CLS - Clear and Reset Screen
This command basically will allow you to reset the screen in case
something happened to place a little garbage on the screen.
- DOS - Exit to the Disk Operating System
I set this command into every program that I write. All it does is
allow you to exit the program temporarily to do something else and then
return to the program and continue the game.
- 12 -
- Arrow down - Long Range Scan down
This will allow you to see down a level. The Long Range Scanner
has a more complete explanation of this command.
- Arrow up - Long Range Scan up
This will allow you to see up a level. The Long Range Scanner has
a more complete explanation of this command.
- STA - Stars to Asterisks
I realize that some computers will not print the chr$(15) on the
screen for whatever reason, so I set up this command. At this time, it
will not change the entire game, just the Stars. I realize that not
everyone can see the extended graphics that are standard in IBMs and
compatables. I am working on making this a switch like the Color and
the Short game.
- CON - Color Configuration
This command allows you to set the colors to Monochrome, Color, or
any modification of either. To prevent StarTrek from running in Color,
you must create a dummy file called Color.No. You do that by using the
CON command in StarTrek. To create the file in StarTrek, type CON, then
when is asks for the item to change colors for, type 9 or 10, where 9 is
the default for color and 10 is the default for monochrome monitors.
This will create the dummy file. No matter what, if you change one color
on the mode that you're in, it will be saved and set the next time you
start StarTrek.
- EXT - Print Extended Command Key List
This prints the Extended Command Key List in place of the normal
Main Command Key List. Pressing the space bar will return you to
command level.
- STO - Stop System
This command will stop the program dead. You will be returned to
the Disk Operating System. This is useful if you either kill off all the
command crew or just wish to exit the program NOW!
- 13 -
Enhancements
The enhancements are numerous. This is a list of enhancements that
I want to do:
1) Add the ability to Save a Game.
2) Add Romulans with Cloaking Devices. (Appears, Shoots,
Disappears)
3) Add the ability for the Klingons to move.
4) Add the ability for the Klingons to attack a Star Base.
5) The Klingons actually have Plasma Torpedoes and not phasers
so I want to have a Plasma track on the SRS instead of
Phaser hits.
6) Add a short game. Basically, by having a file called
Long.No, I want to be able to run a 2 dimensional game.
Known Bugs
There are bugs in the program, aren't there always? I know of a
couple more that I won't bother to put down, mostly because you will
probably never see them. This list is just to let you know that someone
is aware of the problems.
1) The main bug that I know of is when you leave a StarBase. It still
says "Shields are dropped for docking purposes". Move about .3
first and your shields will still be up when you leave. I'm still
checking on why it does that.
Other Garbage
Questions? Enhancements? Give me a call. Leave any messages at my
BBS, The Conventions, at (703) 659-2845 N,8,1 and up to 19,200 baud!
Carl Schelin
Programmer Dungeon Master War Gamer
67 Chestnut Drive
Stafford, VA 22554
- 14 -